Optimal. Leaf size=62 \[ \frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2}{6 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b \tanh ^{-1}\left (\sqrt {1+\frac {1}{c^2 x^2}}\right )}{6 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {6419, 272, 44,
65, 214} \begin {gather*} \frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )+\frac {b x^2 \sqrt {\frac {1}{c^2 x^2}+1}}{6 c}-\frac {b \tanh ^{-1}\left (\sqrt {\frac {1}{c^2 x^2}+1}\right )}{6 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 214
Rule 272
Rule 6419
Rubi steps
\begin {align*} \int x^2 \left (a+b \text {csch}^{-1}(c x)\right ) \, dx &=\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )+\frac {b \int \frac {x}{\sqrt {1+\frac {1}{c^2 x^2}}} \, dx}{3 c}\\ &=\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b \text {Subst}\left (\int \frac {1}{x^2 \sqrt {1+\frac {x}{c^2}}} \, dx,x,\frac {1}{x^2}\right )}{6 c}\\ &=\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2}{6 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )+\frac {b \text {Subst}\left (\int \frac {1}{x \sqrt {1+\frac {x}{c^2}}} \, dx,x,\frac {1}{x^2}\right )}{12 c^3}\\ &=\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2}{6 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )+\frac {b \text {Subst}\left (\int \frac {1}{-c^2+c^2 x^2} \, dx,x,\sqrt {1+\frac {1}{c^2 x^2}}\right )}{6 c}\\ &=\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2}{6 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b \tanh ^{-1}\left (\sqrt {1+\frac {1}{c^2 x^2}}\right )}{6 c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 85, normalized size = 1.37 \begin {gather*} \frac {a x^3}{3}+\frac {b x^2 \sqrt {\frac {1+c^2 x^2}{c^2 x^2}}}{6 c}+\frac {1}{3} b x^3 \text {csch}^{-1}(c x)-\frac {b \log \left (x \left (1+\sqrt {\frac {1+c^2 x^2}{c^2 x^2}}\right )\right )}{6 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.21, size = 88, normalized size = 1.42
method | result | size |
derivativedivides | \(\frac {\frac {c^{3} x^{3} a}{3}+b \left (\frac {c^{3} x^{3} \mathrm {arccsch}\left (c x \right )}{3}+\frac {\sqrt {c^{2} x^{2}+1}\, \left (c x \sqrt {c^{2} x^{2}+1}-\arcsinh \left (c x \right )\right )}{6 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, c x}\right )}{c^{3}}\) | \(88\) |
default | \(\frac {\frac {c^{3} x^{3} a}{3}+b \left (\frac {c^{3} x^{3} \mathrm {arccsch}\left (c x \right )}{3}+\frac {\sqrt {c^{2} x^{2}+1}\, \left (c x \sqrt {c^{2} x^{2}+1}-\arcsinh \left (c x \right )\right )}{6 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, c x}\right )}{c^{3}}\) | \(88\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 96, normalized size = 1.55 \begin {gather*} \frac {1}{3} \, a x^{3} + \frac {1}{12} \, {\left (4 \, x^{3} \operatorname {arcsch}\left (c x\right ) + \frac {\frac {2 \, \sqrt {\frac {1}{c^{2} x^{2}} + 1}}{c^{2} {\left (\frac {1}{c^{2} x^{2}} + 1\right )} - c^{2}} - \frac {\log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} + 1\right )}{c^{2}} + \frac {\log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} - 1\right )}{c^{2}}}{c}\right )} b \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 186 vs.
\(2 (52) = 104\).
time = 0.43, size = 186, normalized size = 3.00 \begin {gather*} \frac {2 \, a c^{3} x^{3} + b c^{2} x^{2} \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} + 2 \, b c^{3} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x + 1\right ) - 2 \, b c^{3} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x - 1\right ) + b \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x\right ) + 2 \, {\left (b c^{3} x^{3} - b c^{3}\right )} \log \left (\frac {c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c x}\right )}{6 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \left (a + b \operatorname {acsch}{\left (c x \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int x^2\,\left (a+b\,\mathrm {asinh}\left (\frac {1}{c\,x}\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________